{
  "properties" : { },
  "id" : "copy1735031312224d74945",
  "script" : null,
  "groupId" : "20d1495b5a3248699326d07bf7f27537",
  "name" : "3.预约会议detail",
  "createTime" : null,
  "updateTime" : 1735807793835,
  "lock" : null,
  "createBy" : null,
  "updateBy" : null,
  "path" : "/conferences/{meetingid}",
  "method" : "GET",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ {
    "name" : "meetingid",
    "value" : null,
    "description" : null,
    "required" : true,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  } ],
  "responseBody" : "{\n    \"uuid\": \"token123456\",\n    \"userType\": 38,\n    \"expire\": 1000,\n    \"passwordExpireAfter\": \"90\"\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : {
    "name" : "",
    "value" : "",
    "description" : "",
    "required" : false,
    "dataType" : "Object",
    "type" : null,
    "defaultValue" : null,
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ {
      "name" : "timestamp",
      "value" : "2024-12-24T08:47:49.483+00:00",
      "description" : "",
      "required" : false,
      "dataType" : "String",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "status",
      "value" : "404",
      "description" : "",
      "required" : false,
      "dataType" : "Integer",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "error",
      "value" : "Not Found",
      "description" : "",
      "required" : false,
      "dataType" : "String",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "message",
      "value" : "",
      "description" : "",
      "required" : false,
      "dataType" : "String",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "path",
      "value" : "/conf-portal/token",
      "description" : "",
      "required" : false,
      "dataType" : "String",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    } ]
  }
}
================================

import 'java.util.Date' as Date;
import 'java.text.SimpleDateFormat' as SimpleDateFormat;
// 
var meeting_detail_json = """
{
  "conference": {
    "id": "3abcb72c-920e-4043-84f9-ab91cbb9bd1a",
    "legacyId": 309,
    "subject": "019网络中心1调试",
    "creatorId": "e3198616-3517-446e-a974-920443767d24",
    "username": "019网络中心1",
    "accountName": "019-1",
    "chairmanPassword": "099542",
    "guestPassword": "211678",
    "scheduleStartTime": "2023-08-09 07:01:44 UTC",
    "conferenceTimeType": "INSTANT_CONFERENCE",
    "duration": 60,
    "category": "BASE",
    "stage": "ONLINE",
    "organizationName": "中国科学院",
    "active": true,
    "securityLevel": "PUBLIC",
    "showSecurityLevel": true,
    "status": "APPROVED_COMPLETED",
    "shareFlow": false
  },
  "multiConferenceService": {
    "conferencePolicySetting": {
      "language": 1,
      "timeZoneId": "58",
      "autoExtend": false,
      "autoEnd": false,
      "autoMute": false,
      "voiceActive": false,
      "displaySubjectAsCallerDisplayInfo": true,
      "releaseParticipantRes": true,
      "maxParticipantNum": 500,
      "auxMediaNoControl": false
    },
    "conferenceCapabilitySetting": {
      "rate": 7680,
      "mediaEncrypt": 2,
      "audioProtocol": 6,
      "videoProtocol": 8,
      "videoResolution": 30,
      "dataConfProtocol": 1,
      "reserveResource": 0,
      "enableDataConf": false,
      "enableHdRealTime": false,
      "type": "AVC",
      "enableRecord": false,
      "enableLiveBroadcast": false,
      "autoRecord": false,
      "audioRecord": false,
      "amcRecord": true,
      "enableCheckIn": false,
      "checkInDuration": 10,
      "previewImage": false,
      "vdc": false
    },
    "accessCode": "9942488",
    "mainMcuName": "MCU1",
    "mainServiceZoneName": "Default",
    "mainServiceZoneId": "8ab9e3c4-69ce-04e5-0169-ce058e5d1213",
    "chairmanLink": "200.1.26.50/conf-portal#/?uuid=3abcb72c-920e-4043-84f9-ab91cbb9bd1a1f9a897e604f9a85e5420926a07c06038752f9eedab4fb5a749b7e203ee73da8&isdataconf=2",
    "guestLink": "200.1.26.50/conf-portal#/?uuid=3abcb72c-920e-4043-84f9-ab91cbb9bd1ad438c03718ab8783f74d8d0f5afc3388489b15df39ae2f2b47bebfaf7fea9c7a&isdataconf=3"
  },
  "checkInService": {
    "enableCheckIn": false,
    "checkInDuration": 10
  },
  "subtitleService": {
    "enableSubtitle": false,
    "srcLang": "CHINESE",
    "supLanguageList": [
      "CHINESE"
    ],
    "subscribePath": "/topic/conferences/3abcb72c-920e-4043-84f9-ab91cbb9bd1a/subtitle"
  },
  "confPresetParam": {
    "presetMultiPics": [],
    "presetMultiPicRollInfos": [],
    "presetSiteMultiPicRollInfos": []
  },
  "participants": [
    {
      "id": "6feafa86-ff66-411c-85c5-b96f00ed94df",
      "uri": "010011",
      "name": "院机关 重任局",
      "terminalType": "CloudLink_Box_600M",
      "ipProtocolType": 1,
      "dialMode": "OUT",
      "encodeType": "ENCODE_DECODE",
      "forward": false,
      "organizationId": "8ab9e3c4-69ce-04e5-0169-ce058e5d1234",
      "organizationName": "中国科学院",
      "rate": 7680,
      "voice": false,
      "audioProtocol": 6,
      "videoProtocol": 8,
      "videoResolution": 30,
      "dataConfProtocol": 1,
      "serviceZoneId": "8ab9e3c4-69ce-04e5-0169-ce058e5d1213",
      "serviceZoneName": "Default",
      "mcuId": "6bc7af17-4396-43e7-a16e-bdbea51ffecb",
      "mcuName": "MCU1",
      "mainParticipant": false,
      "preChairman": false,
      "securityLevel": "CONFIDENTAIL",
      "notEncodeSiteName": false,
      "disableAux": false,
      "notAudioMixing": false,
      "notJoinAutoMultiPic": false,
      "lockVideoSrc": false,
      "notDisplay": false,
      "terminalUserId": "c3837b01-cee7-4016-a612-fc2eb12de96d",
      "terminalUserName": "011(院机关 重任局)",
      "terminalUserSecurityLevel": "IMPORTANT",
      "thirdRoom": false,
      "loginSmcName": "010011",
      "supportedAmc": false,
      "defaultParticipantId": "f0976527-5a8d-46a3-b02b-ee9493b5bb57"
    },
    {
      "id": "11f3f4a9-db46-48ab-b1cf-04838cdd8b59",
      "uri": "010019",
      "name": "计算机网络信息中心",
      "terminalType": "CloudLink_Box_600M",
      "ipProtocolType": 1,
      "dialMode": "OUT",
      "encodeType": "ENCODE_DECODE",
      "forward": false,
      "organizationId": "8ab9e3c4-69ce-04e5-0169-ce058e5d1234",
      "organizationName": "中国科学院",
      "rate": 7680,
      "voice": false,
      "audioProtocol": 6,
      "videoProtocol": 8,
      "videoResolution": 30,
      "dataConfProtocol": 1,
      "serviceZoneId": "8ab9e3c4-69ce-04e5-0169-ce058e5d1213",
      "serviceZoneName": "Default",
      "mcuId": "6bc7af17-4396-43e7-a16e-bdbea51ffecb",
      "mcuName": "MCU1",
      "mainParticipant": false,
      "preChairman": false,
      "securityLevel": "CONFIDENTAIL",
      "notEncodeSiteName": false,
      "disableAux": false,
      "notAudioMixing": false,
      "notJoinAutoMultiPic": false,
      "lockVideoSrc": false,
      "notDisplay": false,
      "terminalUserId": "2dd85fad-22c8-45e2-abaf-a343ca25f414",
      "terminalUserName": "019(计算机网络信息中心)",
      "terminalUserSecurityLevel": "IMPORTANT",
      "thirdRoom": false,
      "loginSmcName": "010019",
      "supportedAmc": false,
      "defaultParticipantId": "f0976527-5a8d-46a3-b02b-ee9493b5bb57"
    }
  ],
  "attendees": [],
  "approves": [],
  "approveRecords": [
    {
      "id": "1d5f85c2-6496-475b-b8d7-7c8f2682f71b",
      "approverId": "e3198616-3517-446e-a974-920443767d24",
      "approverName": "019网络中心1",
      "approverAccountName": "019-1",
      "approvalTime": "2023-08-09 15:01:44:081",
      "status": "CREATE",
      "agree": true
    },
    {
      "id": "bcf1e3cd-955b-4292-b328-c5e72dc8a7ad",
      "approverId": "425be80c-2214-4282-8901-aa9e6f116cba",
      "approverName": "019网络中心2",
      "approverAccountName": "019-2",
      "approvalTime": "2023-08-09 15:02:16:550",
      "status": "DEPARTMENT_LEADER_REVIEW",
      "agree": true
    },
    {
      "id": "575ce57a-caa0-44fd-912e-2523076fb9c6",
      "approverId": "71bd1d47-5e25-48db-8be5-83682d0f4b69",
      "approverName": "019网络中心3",
      "approverAccountName": "019-3",
      "approvalTime": "2023-08-09 15:02:31:824",
      "status": "SUPER_DEPARTMENT_LEADER_REVIEW",
      "agree": true
    },
    {
      "id": "9eeaf9ac-12b9-4672-a59b-99db351a55ea",
      "approverId": "71bd1d47-5e25-48db-8be5-83682d0f4b69",
      "approverName": "019网络中心3",
      "approverAccountName": "019-3",
      "approvalTime": "2023-08-09 15:02:32:824",
      "status": "COMPLETED",
      "agree": true
    }
  ],
  "shareFlowFiles": []
}
"""

import response;
import 'com.fasterxml.jackson.databind.ObjectMapper' as ObjectMapper;
var objectMapper = new ObjectMapper();

// 字符串转json
var meeting = objectMapper.readValue(meeting_detail_json, Map.class);
var now = new Date();   // 创建对象
var df = new SimpleDateFormat('yyyy-MM-dd');

// 返回格式自定义 nowMTDetail.json

// post请求：URL，http://192.168.118.88:29410/conf-portal/conferences/conditions?page=0&size=1000
// post请求：请求参数，{"startTime":"2024-12-23 17:16:25 CST","endTime":"2025-01-23 17:16:25 CST"}
// post请求：请求头，{"Content-type":"application/json;charset=UTF-8","token":"token123456"}

return response.json(
    meeting
)